package cn.lin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * TODO 目录
 * @author cn.Lin
 * @create 2024-12-01-20:51
 */
@Getter
@Setter
public class Catalog {

    private Integer id;

    private Integer pid;

    private Integer level;

    private Integer classId;

    private String position;

    private String modelName;

    private String fileName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

}
